Enable inotify on systems with inotify_init yet no init1 variant
authorPo Lu <luangruo@yahoo.com>
Thu, 22 Feb 2024 01:53:48 +0000 (09:53 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 22 Feb 2024 01:53:48 +0000 (09:53 +0800)
commit39a84232700c40fa74305970dd16cd5cb8b8bea0
tree407906a502a34da8b81bd84ae71d3bc9a4d9aa66
parentb214cb2843851c410d603e7fb487a462d5f7bee1
Enable inotify on systems with inotify_init yet no init1 variant

* configure.ac (HAVE_INOTIFY): Check for the presence of
inotify_init in addition to inotify_init1.

* src/inotify.c (Finotify_add_watch): Implement with
inotify_init if inotify_init1 is absent.
configure.ac
src/inotify.c